import request from '@/utils/request'

//获取列表
export function GetModelList(data) {
    return request({
        url: '/ytjyadmin/RegisterLog/GetModelList',
        method: 'post',
        data
    })
}

//新增或者删除
export function PostModel(data) {
    return request({
        url: '/ytjyadmin/RegisterLog/PostModel',
        method: 'post',
        data
    })
}

//删除
export function DeleteModel(id) {
    return request({
        url: '/ytjyadmin/RegisterLog/DeleteModel?id=' + id,
        method: 'get'
    })
}
